package cn.shengongying.dao;

import cn.shengongying.model.BossPosition;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 职位管理 Mapper 接口
 * </p>
 *
 * @author RXK
 * @since 2022-01-05
 */
@Repository
public interface BossPositionMapper extends BaseMapper<BossPosition> {

    void updateStatusById(BossPosition position);

    List<BossPosition> findByBossId(@Param("userId") Long userId, @Param("type") Integer type);
}
